import java.util.*;
public class BalancedTreeTest {
    public static void main(String[] args) {
        Map<String, Integer> map = new TreeMap<>();
        String[] months = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
        int i;
        for (i = 0; i < months.length; i++) {
            map.put(months[i], i + 1);
        }
        System.out.println(map.toString());
    }
}
